<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>慢慢买</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="./lib/css/bootstrap.css">
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/index.css">
</head>

<body>
    <!-- 头部 -->
    <header>
        <h1>
            <a href="javascript:;">慢慢买</a>
        </h1>
        <a href="javascript:;"></a>
    </header>
    <!-- 搜索part -->
    <div class="search">
        <input type="text" placeholder="请输入你想比价的商品">
        <input type="button" value="搜索">
    </div>
    <!-- 菜单栏 -->
    <div class="menu">
        <!-- <a href="javascript:;">
            <img src="./images/ic_search.png" alt="">
            <p>比价搜索</p>
        </a>
         -->
        <!-- menuTmp模板占坑 -->
    </div>
    <!-- 超值折扣推荐 -->
    <div class="count">
        <div class="title">
            <span>超值折扣推荐</span>
            <a href="javascript:;">
                <div class="pull-right glyphicon glyphicon-hand-right"></div>
            </a>
        </div>
        <div class="content">
            <!-- <a href="javascript:;">
                <div class="content_img"><img src="" alt=\"移动端凑单品：海天 鲜味 生抽 1.28L\"></div>
                <div class="content_text">
                    <div class="productName">移动端凑单品：海天 鲜味 牛抽1.28L<span class="productPinkage">10.9元</span></div>
                    <div class="product_info clearfix">
                        <div class="pull-left">
                            <span class="productFrom">京东商城</span>
                            |
                            <span class="productTime">10-25 14:10</span>
                        </div>
                        <div class="pull-right">
                            <span class="glyphicon glyphicon-comment"></span>
                            <span class="productComCount">1</span>
                        </div>
                    </div>
                </div>
            </a> -->

            <!-- discountTmp占坑专用 -->
        </div>
        <!-- 更多优惠信息 -->
        <div class="more_discount">
            <a href="./views/moneyctrl.html">
                更多优惠信息 >>
            </a>
        </div>
    </div>

    <!-- 品牌排行 -->
    <div class="brand">
        <div class="pull-left">品牌排行</div>
        <a href="javascript:;">
            <div class="pull-right glyphicon glyphicon-hand-right"></div>
        </a>
    </div>

    <!-- 底部 -->
    <footer>
        <div class="footer_top">
            <span class="login">登录</span>
            <span class="register">注册</span>
            <a href="javascript:;" class="back">
                <img src="./images/toTop.jpg" alt="">
                <span>返回顶部</span>
            </a>
        </div>
        <div class="footer_content">
            <div class="footer_link">
                <a href="javascript:;">手机APP下载</a>
                <a href="javascript:;">慢慢买手机版</a>
                <a href="javascript:;">-- 掌上比价平台</a>
            </div>
            <p>m.manmanbuy.com</p>
        </div>
    </footer>


</body>

</html>
<script src="./lib/js/jquery.1.12.4.js"></script>
<script src="./lib/js/bootstrap.js"></script>
<script src="./lib/zepto/src/zepto.js"></script>
<script src="./lib/zepto/src/event.js"></script>
<script src="./lib/zepto/src/touch.js"></script>
<script src="./lib/zepto/src/fx.js"></script>
<script src='./lib/art-template/template-web.js'></script>
<script src="./js/base.js"></script>
<script src="./js/index.js"></script>

<!-- 菜单模板 -->
<script type="text/template" id="menuTmp">
    {{ each result }}
    <a {{if ($value.indexmenuId==7)}} href='javascript:;' id='more' {{else}} href="views/{{ $value.titlehref }}" {{/if}} {{if ($value.indexmenuId>=8)}} class='menutoggle' {{/if}}>
        {{@ $value.img }}
        <p>{{ $value.name }}</p>
    </a> {{ /each }}
</script>

<!-- 超级折扣推荐模板 -->
<script type="text/template" id="discountTmp">
    {{ each result }}
    <a href="discountproduct.html?productId={{$value.productId}}">
        <div class="content_img">{{@ $value.productImgSm}}</div>
        <div class="content_text">
            <div class="productName">{{$value.productName}}<span class="productPinkage">{{$value.productPinkage}}</span></div>
            <div class="product_info clearfix">
                <div class="pull-left">
                    <span class="productFrom">{{$value.productFrom}}</span> |
                    <span class="productTime">{{$value.productTime}}</span>
                </div>
                <div class="pull-right">
                    <span class="glyphicon glyphicon-comment"></span>
                    <span class="productComCount" data-count="{{$value.productComCount}}">1</span>
                </div>
            </div>
        </div>
    </a>
    {{ /each }}
</script>